setIcon

Sets the icon for the bubble. Can only be used if the bubble was created via Builder.

The icon will be used to represent the bubble when it is collapsed. An icon should be representative of the content within the bubble. If your app produces multiple bubbles, the icon should be unique for each of them.

It is recommended to use an Icon of type TYPE_URI or TYPE_URI_ADAPTIVE_BITMAP

Throws

if icon is null.

if this builder was created via Builder.